<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('hello/:name', 'index/index/hello');

// 应用主页
Route::get('music', 'music/index/index');
Route::post('musicSearch', 'music/api/musicSearch');
Route::post('getSong', 'music/api/getSong');
Route::post('getMusicDown', 'music/api/getMusicDown');
Route::any('MusicDown', 'music/api/musicDown');
Route::get('getDir', 'music/api/getDir');
Route::get('down/:file_dir', 'music/api/downloading');
Route::get('online/:data', 'music/api/online');
Route::get('file', 'admin/File/fileList');

return [

];
